<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>DooHTML - Lite</title>
  <link rel="shortcut icon" type="image/png" href="./favicon.png" />
  <link href="/css/currentStyle.css" rel="preload" as="style"/>
  <link href="/css/currentStyle.css" rel="stylesheet"/>
  <script type="module" src="./src/main.js" defer ></script>
  <template id="table">
    <table class="table table-hover table-striped test-data">
      <tbody id="tbody"><tr data-bind="rows"><td class="col-md-1">{{id}}</td><td class="col-md-4"><a>{{label}}</a></td><td class="col-md-1"><a class="remove"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td><td class="col-md-6"></td></tr></tbody>
    </table>
  </template>
</head>
<body>
  <div id="main">
    <div class="container">
        <div class="jumbotron">
            <div class="row">
                <div class="col-md-6">
                    <h1>DooHTML - Lite</h1><span class="ver"></span>
                </div>
                <div class="col-md-6">
                  <div class="row">
                      <div class="col-sm-6 smallpad">
                      <button type="button" class="btn btn-primary btn-block" id="run">Create 1,000 rows</button>
                      </div>
                      <div class="col-sm-6 smallpad">
                          <button type="button" class="btn btn-primary btn-block" id="runlots">Create 10,000 rows</button>
                      </div>
                      <div class="col-sm-6 smallpad">
                          <button type="button" class="btn btn-primary btn-block" id="add">Append 1,000 rows</button>
                      </div>
                      <div class="col-sm-6 smallpad">
                          <button type="button" class="btn btn-primary btn-block" id="update">Update every 10th row</button>
                      </div>
                      <div class="col-sm-6 smallpad">
                          <button type="button" class="btn btn-primary btn-block" id="clear">Clear</button>
                      </div>
                      <div class="col-sm-6 smallpad">
                          <button type="button" class="btn btn-primary btn-block" id="swaprows">Swap Rows</button>
                      </div>
                  </div>
              </div>
          </div>
      </div>
      <div 
        data-template="table" 
        data-has-html="false"
        data-key="id"
      >
      </div>

    </div>  
    <span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
  </div>
</body>
</html>